Platform Explorer / Nuxeo Platform 2021.7

Extension point hibernate

Documentation

This service uses hibernate as JPA provider. This extension point lets you override the default hibernate configuration.

Contribution Descriptors

  • Class: org.nuxeo.ecm.core.persistence.HibernateConfiguration

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-platform-audit-core-2021.7.15.jar /OSGI-INF/nxaudit-persistence-config.xml
    <extension point="hibernate" target="org.nuxeo.ecm.core.persistence.PersistenceComponent">
        <hibernateConfiguration name="nxaudit-logs">
          <datasource>nxaudit-logs</datasource>
          <properties>
            <property name="hibernate.hbm2ddl.auto">update</property>
          </properties>
        </hibernateConfiguration>
      </extension>
  • nuxeo-platform-uidgen-core-2021.7.15.jar /OSGI-INF/uidgenerator-contrib.xml
    <extension point="hibernate" target="org.nuxeo.ecm.core.persistence.PersistenceComponent">
        <hibernateConfiguration name="NXUIDSequencer">
          <datasource>nxuidsequencer</datasource>
          <properties>
            <property name="hibernate.hbm2ddl.auto">update</property>
          </properties>
        </hibernateConfiguration>
      </extension>